/*TMODJS:{"debug":true,"version":72,"md5":"48568aae38fd8514f335d23766c83ec7"}*/
template('Reservation/common/address',function($data,$filename
/**/) {
try{'use strict';var $utils=this,$helpers=$utils.$helpers,$line=0,$each=$utils.$each,User_ReceivingList=$data.User_ReceivingList,value=$data.value,i=$data.i,$escape=$utils.$escape,$out='';$out+='<section> <div class="main"> <div class="adds icon-adds"> ';
$line=4;$each(User_ReceivingList,function(value,i){
$out+=' ';
$line=5;if(value.IsDefault == 1){
$out+=' <dl class="default"> ';
$line=7;}else{
$out+=' <dl class=""> ';
$line=9;}
$out+=' <dt> <div class="left"> <div><b class="name">';
$line=12;$out+=$escape(value.ReceivingName);
$out+='</b><b>';
$line=12;$out+=$escape(value.MobilePhone);
$out+='</b> ';
$line=13;if(value.IsDefault == 1){
$out+=' <span>默认</span> ';
$line=15;}else{
$out+=' <span class="setDefault" data-id ="';
$line=16;$out+=$escape(value.SysNo);
$out+='">设为默认</span> ';
$line=17;}
$out+=' </div> <p> ';
$line=20;$out+=$escape(value.ProvinceName);
$out+=' ';
$line=21;$out+=$escape(value.CityName);
$out+=' ';
$line=22;$out+=$escape(value.DistrictName);
$out+=' ';
$line=23;$out+=$escape(value.CompleteAddress);
$out+=' </p> </div> <div class="right edit" data-address=\'{"ReceivingName":"';
$line=26;$out+=$escape(value.ReceivingName);
$out+='","MobilePhone":"';
$line=26;$out+=$escape(value.MobilePhone);
$out+='","ProvinceName":"';
$line=26;$out+=$escape(value.ProvinceName);
$out+='" ,"CityName":"';
$line=26;$out+=$escape(value.CityName);
$out+='","DistrictName":"';
$line=26;$out+=$escape(value.DistrictName);
$out+='","CompleteAddress":"';
$line=26;$out+=$escape(value.CompleteAddress);
$out+='","ProvinceSysNo":"';
$line=26;$out+=$escape(value.ProvinceSysNo);
$out+='","DistrictSysNo":"';
$line=26;$out+=$escape(value.DistrictSysNo);
$out+='","CitySysNo":"';
$line=26;$out+=$escape(value.CitySysNo);
$out+='","sysNo":"';
$line=26;$out+=$escape(value.SysNo);
$out+='" }\'>&#xe90a</div> </dt> <dd class="delete" data-id = "';
$line=28;$out+=$escape(value.SysNo);
$out+='"></dd> </dl> ';
$line=30;});
$out+=' </div> <div class="new"> ';
$line=33;if(User_ReceivingList.length <= 10){
$out+=' <p class="btnOrange"> <a href="javascript:;" id="add_address"><span>新建地址</span></a> </p> ';
$line=37;}else{
$out+=' <p class="btnOrange disabled"> <a href="javascript:;" id=""><span>新建地址</span></a> </p> ';
$line=41;}
$out+=' </div> </div> </section> ';
return new String($out);}catch(e){throw {filename:$filename,name:'Render Error',message:e.message,line:$line,source:'<section>\r\n	<div class="main">\r\n		<div class="adds icon-adds">\r\n			{{each User_ReceivingList as value i}} \r\n			{{if value.IsDefault == 1}}\r\n				<dl class="default">\r\n			{{else}}	\r\n				<dl class="">\r\n			{{/if}}	\r\n				<dt>\r\n					<div class="left">\r\n						<div><b class="name">{{value.ReceivingName}}</b><b>{{value.MobilePhone}}</b>\r\n							{{if value.IsDefault == 1}}\r\n								<span>默认</span> \r\n							{{else}}\r\n								<span class="setDefault" data-id ="{{value.SysNo}}">设为默认</span>\r\n							{{/if}}\r\n						</div>\r\n						<p>\r\n						{{value.ProvinceName}} \r\n		            	{{value.CityName}} \r\n		            	{{value.DistrictName}} \r\n		            	{{value.CompleteAddress}} \r\n						</p>\r\n					</div>\r\n					<div class="right edit" data-address=\'{"ReceivingName":"{{value.ReceivingName}}","MobilePhone":"{{value.MobilePhone}}","ProvinceName":"{{value.ProvinceName}}" ,"CityName":"{{value.CityName}}","DistrictName":"{{value.DistrictName}}","CompleteAddress":"{{value.CompleteAddress}}","ProvinceSysNo":"{{value.ProvinceSysNo}}","DistrictSysNo":"{{value.DistrictSysNo}}","CitySysNo":"{{value.CitySysNo}}","sysNo":"{{value.SysNo}}"  }\'>&#xe90a</div>\r\n				</dt>\r\n				<dd class="delete" data-id = "{{value.SysNo}}"></dd>\r\n			</dl>\r\n			{{/each}}\r\n		</div>\r\n		<div class="new">\r\n			{{if User_ReceivingList.length <= 10}}\r\n			<p class="btnOrange">\r\n				<a href="javascript:;" id="add_address"><span>新建地址</span></a>\r\n			</p>\r\n			{{else}}\r\n			<p class="btnOrange disabled">\r\n				<a href="javascript:;" id=""><span>新建地址</span></a>\r\n			</p>\r\n			{{/if}}\r\n		</div>\r\n	</div>\r\n</section>\r\n		\r\n\r\n'.split(/\n/)[$line-1].replace(/^\s+/,'')};}
});